package Math类编程题;

public class LearnMath {
    public static void main(String[] args) {
        System.out.println("3的5次幂: "+Math.pow(3,5));
        System.out.println("计算3.2向上取整的结果: "+Math.ceil(3.2));
        System.out.println("计算3.8向下取整的结果: "+Math.floor(3.8));
        System.out.println("计算5.6四舍五入取整的结果: "+Math.round(5.6));
    }
}
